package com.sprite.htr.spritehtr.util;
import android.content.Context;
import android.widget.Toast;
/**
 * Created by admin on 2017/6/30.
 */
public class ToastUtil {
    private static Toast toast;

    public static void toast(Context ctx, String text){
        if (toast == null){
            toast = Toast.makeText(ctx, "", 0);
        }

        toast.setText(text);
        toast.show();
    }
}

